package com.xinyi.traditionmvvm.model;

/**
 * @author 杨耿雷
 * @date 2024/9/23 21:57
 * @description 网抑云热评接口的数据模型
 */
public class NeteaseCommentModel {

    /**
     * 歌曲名称
     */
    private String name;

    /**
     * 歌曲播放链接
     */
    private String url;

    /**
     * 歌曲封面图片链接
     */
    private String picurl;

    /**
     * 艺术家名称
     */
    private String artistsname;

    /**
     * 艺术家头像链接
     */
    private String avatarurl;

    /**
     * 评论者的昵称
     */
    private String nickname;

    /**
     * 评论内容
     */
    private String content;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    public String getPicurl() {
        return picurl;
    }

    public void setArtistsname(String artistsname) {
        this.artistsname = artistsname;
    }

    public String getArtistsname() {
        return artistsname;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }

    public String getAvatarurl() {
        return avatarurl;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content == null ? "" : content;
    }
}
